﻿using System;
using System.Collections.Generic;
using System.Web;
using DAO;

namespace BUS
{
    public class TaiKhoanDoanhNghiepBUS
    {
        private TaiKhoanDoanhNghiepDAO _dDAO;

        public TaiKhoanDoanhNghiepBUS()
        {
            _dDAO = new TaiKhoanDoanhNghiepDAO();
        }

        public bool Them(TAIKHOANDOANHNGHIEP _TAIKHOANDOANHNGHIEP)
        {
            return _dDAO.Them(_TAIKHOANDOANHNGHIEP);
        }
        public bool Xoa(TAIKHOANDOANHNGHIEP _TAIKHOANDOANHNGHIEP)
        {
            return _dDAO.Xoa(_TAIKHOANDOANHNGHIEP);
        }
        public bool Sua(TAIKHOANDOANHNGHIEP _TAIKHOANDOANHNGHIEP)
        {
            return _dDAO.Sua(_TAIKHOANDOANHNGHIEP);
        }
        public TAIKHOANDOANHNGHIEP TimTen(String _name)
        {
            return _dDAO.TimTen(_name);
        }
        public TAIKHOANDOANHNGHIEP ChiTiet(String _id)
        {
            return _dDAO.LayID(_id);
        }
        public List<TAIKHOANDOANHNGHIEP> LietKe()
        {
            return _dDAO.LietKe();
        }
    }
}